//
//  AllHotCouCell.m
//  WhereToTravel
//
//  Created by dlios on 15/10/16.
//  Copyright © 2015年 zhoushengmin. All rights reserved.
//

#import "AllHotCouCell.h"
#define W self.contentView.frame.size.width/177.5
#define H self.contentView.frame.size.height/172.5
@implementation AllHotCouCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatView];
    }
    return self;
}
- (void)creatView {
    [super createView];
    self.bomView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height*0.6)];
    [self.contentView addSubview:self.bomView];
    self.cnLabel = [[UILabel alloc]initWithFrame:CGRectMake(W*5, H*60, W*100, W*20)];
    [self.contentView addSubview:self.cnLabel];
    self.cnLabel.textColor = [UIColor whiteColor];
    self.cnLabel.font = [UIFont boldSystemFontOfSize:13];
    self.enLabel = [[UILabel alloc]initWithFrame:CGRectMake(W*5, H*80, W*100, W*20)];
    [self.bomView addSubview:self.enLabel];
    self.enLabel.textColor = [UIColor whiteColor];
    self.enLabel.font = [UIFont boldSystemFontOfSize:13];
    
    self.perNumLabel.frame = CGRectMake(W*5,self.contentView.frame.size.height*0.6, W*375, H*30);
    self.perNumLabel.font = [UIFont boldSystemFontOfSize:15];
    
    self.teLabel.frame = CGRectMake(W*5, H*133.5, self.contentView.frame.size.width, H*40);
    self.teLabel.textColor = [UIColor colorWithWhite:0.080 alpha:0.640];
    self.teLabel.font = [UIFont systemFontOfSize:13];
    self.teLabel.numberOfLines = 0;
}
@end
